package jdkrel._spi;

import sun.misc.Service;

import java.util.Iterator;

public class SpiTest000 {

    public static void main(String[] args) {
        System.out.println(1);
        Iterator<IEmployeeService> iterator = Service.providers(IEmployeeService.class);
        while(iterator.hasNext()){
            IEmployeeService employeeService = iterator.next();
            employeeService.save();
        }
    }

}
